r = [{'faceId': 'f273d867-2ed5-4f48-a790-c55661a30455',
      'faceRectangle': {'top': 72, 'left': 84, 'width': 80, 'height': 80},
      'faceAttributes': {'gender': 'male', 'age': 19.0, 'glasses': 'NoGlasses'}},
     {'faceId': '2a0bcb5e-27a7-45a5-aade-2b56415d99ea',
      'faceRectangle': {'top': 66, 'left': 416, 'width': 75, 'height': 75},
      'faceAttributes': {'gender': 'male', 'age': 21.0, 'glasses': 'NoGlasses'}},
     {'faceId': 'a9b10d93-6334-48f0-b7c1-06315d5b1a2b',
      'faceRectangle': {'top': 74, 'left': 234, 'width': 70, 'height': 70},
      'faceAttributes': {'gender': 'male', 'age': 18.0, 'glasses': 'NoGlasses'}}]

gender = []
age = []
glasses = []

gender.append(r[0]['faceAttributes']['gender'])
gender.append(r[1]['faceAttributes']['gender'])
gender.append(r[2]['faceAttributes']['gender'])
print(gender)

age.append(r[0]['faceAttributes']['age'])
age.append(r[1]['faceAttributes']['age'])
age.append(r[2]['faceAttributes']['age'])
print(age)

glasses.append(r[0]['faceAttributes']['glasses'])
glasses.append(r[0]['faceAttributes']['glasses'])
glasses.append(r[0]['faceAttributes']['glasses'])
print(glasses)
